class Person:
    def introduce(self, message):
        print(message)
        print('我是{}\n在{}部门工作，邮箱 {}'.format(self.name,self.department,self.email))

zs = Person()
zs.name = '张三'
zs.department = 'IT'
zs.email = 'zs@163.com'
zs.introduce('大家好')

Person.introduce(zs, '大家好！')